/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.rh.game;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
 *
 * @author Hayden
 */
public interface Location {
    public static final List<Location> EMPTY_LIST = Collections.unmodifiableList(new ArrayList<Location>());
    public static final Location NULL = new NullInstance();
    
    static class NullInstance implements Location {
        private NullInstance()  { super(); }
        public String getID()  { return ""; }
        public String toString()  { return "NULL"; }
        public int getX()  { return -1; }
        public int getY()  { return -1; }
    }
    
    String getID();   
    int getX();
    int getY();
}
